package GUI;



import java.awt.GridBagLayout;
import javax.swing.JPanel;
import javax.swing.JLabel;
import java.awt.Rectangle;
import javax.swing.JTextField;
import javax.swing.JTextArea;
import javax.swing.JComboBox;


import javax.swing.JButton;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;


public class StudentForm extends JPanel {

	private StudentMainWin af;
	JButton btnClose;
	private JLabel idLabel = null;
	private JLabel pNameLabel = null;
	private JLabel lNameLabel = null;
	private JLabel facLabel = null;
	private JTextField idTextField = null;
	private JTextField pNameTextField = null;
	private JTextField lNameTextField = null;
	private JComboBox facComboBox = null;
	//private Student s;
	
	
	/**
	 * This is the default constructor
	 */
	public StudentForm() {
		super();
		initialize();
	}

	/**
	 * This method initializes StudentForm
	 */
	private void initialize() {
		facLabel = new JLabel();
		facLabel.setBounds(new Rectangle(15, 105, 113, 19));
		facLabel.setText("Faculty");
		
		lNameLabel = new JLabel();
		lNameLabel.setBounds(new Rectangle(15, 17, 113, 17));
		lNameLabel.setText("Last Name");
		
		pNameLabel = new JLabel();
		pNameLabel.setBounds(new Rectangle(15, 46, 113, 17));
		pNameLabel.setText("Private Name");
		
		idLabel = new JLabel();
		idLabel.setBounds(new Rectangle(15, 74, 113, 18));
		idLabel.setText("ID");
		
		this.setSize(300, 200);
		this.setLayout(null);
		this.add(idLabel, null);
		this.add(pNameLabel, null);
		this.add(lNameLabel, null);
		this.add(facLabel, null);
		

		 btnClose = new JButton("Close");

		 btnClose.setBounds(116, 152, 91, 23);
		 add(btnClose);

	}
}

	

	

	

